package com.design.decorator.football;

/**
 * @author xiemiao
 * @description
 * @date 2023/08/16
 */
public class Client {
    public static void main(String[] args) {
        GermanTeam germanTeam = new GermanTeam();
        NikeDecorator nikeDecorator = new NikeDecorator(germanTeam, "nike");
        nikeDecorator.team();
        nikeDecorator.facade();

        AdidasDecorator adidasDecorator = new AdidasDecorator(nikeDecorator, "adidas");
        adidasDecorator.team();
        adidasDecorator.facade();
    }
}
